﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CBMS.Interfaces;
using CBMS.Models;
using System.Data.Objects.DataClasses;
using System.Data.Objects;
using System.Collections;
using CBMS.Objects;
using System.Data.Objects.SqlClient;
using CBMS.Common;
using System.Data.Common;
using System.Data.EntityClient;
using System.Data;
using System.Globalization;

namespace CBMS.Business
{
    public class SystemConfigRepository : BaseEntityRepository<SystemConfig>, ISystemConfigRepository
    {
        public SystemConfigRepository()
            : base()
        {

        }

        public SystemConfig GetSystemConfig()
        {
            return DbContext.SystemConfigs.FirstOrDefault();
        }
    }
}